package com.tomcov.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class LicencePlace extends Place{
	
	private String LicenceName;

    public LicencePlace(String token) {
        this.LicenceName = token;
    }

    public String getLicenceName() {
        return LicenceName;
    }


    public static class Tokenizer implements PlaceTokenizer<LicencePlace> {
        @Override
        public String getToken(LicencePlace place) {
            return place.getLicenceName();
        }

        @Override
        public LicencePlace getPlace(String token) {
            return new LicencePlace(token);
        }
    }


}
